<?php
include_once 'dao/Users.php';
class AuthUser
{ 
	public function authUser($get)
	{
		if($get['views'] != 'logout')
		{
			$this->users = new DaoUsers();
			if ($this->users->nologout() != true)
	    	{
	    		$a = 'Users';
	    	}
	    	else
	    	{
	    		$a = 'Question';
	    	}
		}
		else 
		{
			$a = 'Users';
		}
		return $a;
    }
}